package com.itheima.info.manger.system.dao;

import com.itheima.info.manger.system.domain.Student;

public interface BaseStudentDao {



    public abstract boolean addStudent(Student student);

    public  abstract void deleteStudent(String sid) ;

    public  abstract void updateStudent(String sid, Student newStu) ;

    public  abstract Student[] findAllStudents();

    //查索引的方法
    //参数 学号
    //返回值 int
    public  abstract int getIndex(String sid);
}
